package tt.dz.egobus.servicemanager.vo;

import tt.dz.egobus.bean.BaseBean;

/**
 * @author Anson
 * @date 17-3-21
 * @name 车辆二维码
 * @since 1.0.2
 */
public class BusQRCodeVo implements BaseBean {

    /**
     * 当前车的ID
     */
    private String busId;


    public String getBusId() {
        return busId;
    }

    public void setBusId(String busId) {
        this.busId = busId;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof BusQRCodeVo)) return false;
        BusQRCodeVo that = (BusQRCodeVo) o;
        return getBusId() != null ? getBusId().equals(that.getBusId()) : that.getBusId() == null;

    }

    @Override
    public int hashCode() {
        return getBusId() != null ? getBusId().hashCode() : 0;
    }

    @Override
    public String toString() {
        return "BusQRCodeVo{" +
                "busId='" + busId + '\'' +
                '}';
    }
}
